<head>
<meta name='layout' content='min' />
<title>学大教育西安分公司 文件共享系统</title>
<SCRIPT LANGUAGE=JAVASCRIPT> 
if (top.location != self.location) {
    top.location = self.location;
//    alert(top.location +"||"+ self.location);
}

</SCRIPT> 
<style type='text/css' media='screen'>
#login {
	margin:15px 0px; padding:0px;
	text-align:center;
}
#login .inner {
	width:500px;
    height:240px;
	margin:0px auto;
	text-align:left;
	padding:0; 
    background: url(${resource(dir:'images',file:'login.gif')}) no-repeat left top;
}
#login .inner .fheader {
	padding: 15px 0;color:#2e3741;font-size:14px;font-weight:bold;text-align: center;
}
#login .inner .cssform p {
 
	margin: 0;
	padding: 10px 8px ;
	padding-left: 125px;
  
}
#login .inner .cssform input {
	width: 180px;
}
#login .inner .cssform label {
	font-weight: bold;
	float: left;
	margin-left: -105px;
	width: 100px;
}
#login .inner .login_message {color:red;}
 
</style>
</head>

<body>
	<div id='login'>
		<div class='inner'>
			<g:if test='${flash.message}'>
			<div class='login_message'>${flash.message}</div>
			</g:if>
			<div class='fheader'>登录文件共享系统</div>
			<form action='${postUrl}' method='POST' id='loginForm' class='cssform'>
				<p>
					<label for='j_username'>登录账户</label>
					<input type='text' class='text_' name='j_username' id='j_username' value='${request.remoteUser}' />
				</p>
				<p>
					<label for='j_password'>密　　码</label>
					<input type='password' class='text_' name='j_password' id='j_password' />
				</p>
				<p >
					<label for='remember_me'>记住登录状态</label>
					<input type='checkbox' class='checkbox' name='_spring_security_remember_me' id='remember_me' <g:if test='${hasCookie}'>checked='checked'</g:if> />
				</p>
				<p>
					<input type='submit' value='登　　录' class="save"  />
				</p>
			</form>
		</div>
	</div>
<script type='text/javascript'>
<!--
(function(){
	document.forms['loginForm'].elements['j_username'].focus();
})();
// -->
</script>
</body>
